From: Daniel van Vugt Date: Wed, 16 Sep 2020 07:03:47 +0000 (+0800) Subject: windowManager: Allow animations to start if the overview is closing X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~86 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ea9c4e589d5ef7092b9baf821f7e5e400038e4a3;p=gnome-shell.git windowManager: Allow animations to start if the overview is closing So the `WindowManager._mapWindow` animation doesn't get skipped if the overview is visible but closing. Part-of: --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index d01bac19c..2ded68236 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1118,7 +1118,8 @@ var WindowManager = class { } _shouldAnimate() { - return !(Main.overview.visible || this._workspaceAnimation.gestureActive); + const overviewOpen = Main.overview.visible && !Main.overview.closing; + return !(overviewOpen || this._workspaceAnimation.gestureActive); } _shouldAnimateActor(actor, types) {